package com.xj.common.bussiness.transferLicense.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import static org.springframework.format.annotation.DateTimeFormat.ISO.DATE;

@Data
@EqualsAndHashCode(callSuper=false)
public class transferLicenseMould extends Model<transferLicenseMould> {
    private Integer id;

    /**
     * 表单状态
     */
    private String state;
    /**
     * 填表日期
     */
    @DateTimeFormat(iso = DATE)
    private Date createDate;
    /**
     * 设备申请人姓名(个人或企业名称)
     */
    private String registerName;
    /**
     * 申请单位（0个人，1企业）
     */
    private String userType;
    /**
     * 有效通信地址
     */
    private String address;
    /**
     * 申请人电话
     */
    private String registerPhone;
    /**
     * 申请人身份证号/企业代码
     */
    private String identification;
    /**
     * 设备品牌
     */
    private String deviecBrand;
    /**
     * 机械类型（1-9对应挖掘机、装载机、矿用自卸车、推土机、压路机、平地机、混凝土机械、桩工机械、凿岩机械）
     */
    private String machineryType;
    /**
     * 设备型号
     */
    private String plateSubject;
    /**
     * 发动机型号
     */
    private String engineSubject;
    /**
     * 出厂日期
     */
    @DateTimeFormat(iso = DATE)
    private Date dateOfProduction;
    /**
     * 功率
     */
    private String power;
    /**
     * 购买时间
     */
    @DateTimeFormat(iso = DATE)
    private Date resBuyDate;
    /**
     * 发动机编号
     */
    private String enginePlateNum;
    /**
     * 设备是（0国产，1合资，2进口）
     */
    private String productionType;
    /**
     * 设备产地
     */
    private String productionAddress;
    /**
     * 行走方式(0轮式，1履带)
     */
    private String maneuver;
    /**
     * 工作小时
     */
    private Integer workTime;
    /**
     * 燃料类型（0柴油，1汽油，2天然气）
     */
    private String fuel;
    /**
     * 尾气排放值
     */
    private String outputVolume;
    /**
     * 出厂编号
     */
    private String factoryNum;
    /**
     * 设备牌编号
     */
    private String plateNum;

    /**
     * 设备所有人
     */
    private String ownerName;

    /**
     * 转入申请人身份证/企业代码（申请类型为过户时需填此字段，上户申请表不需要填）
     */
    private String changeIntoIdentification;
    /**
     * 转入人姓名
     */
    private String changeIntoName;

    /**
     *  设备各种照片的集合
     */
    private String referenceDeviceImg;

    /**
     *  用户备案信息图片地址
     */
    // @TableField(value="reference_user_img")
    private String referenceUserImg;

    /**
     *  用户备案发票信息图片地址
     */
    // @TableField(value="reference_invoice_img")
    private String referenceInvoiceImg;

//    /**
//     * 转入人企业、个人
//     */
//    private String changeIntoUserType;
//    /**
//     * 转入人配偶姓名
//     */
//    private String changeIntoSpouseName;
//    /**
//     * 转入人配偶证件号
//     */
//    private String changeIntoSpouseIdentification;
//    /**
//     * 转入人姓配偶联系方式
//     */
//    private String changeIntoSpousePhone;
//    /**
//     * 转入人地址
//     */
//    private String changeIntoAddress;
//    /**
//     * 转入人联系方式
//     */
//    private String changeIntoPhone;
//
//    /**
//     * 转出人/转出单位的身份证和设备的照片
//     */
//    private String oldIdentityAndCarImg;
//
//    /**
//     * 转入人/转入单位的身份证和设备的照片
//     */
//    private String newIdentityAndCarImg;


    public Integer getId() {
        return id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getRegisterName() {
        return registerName;
    }

    public void setRegisterName(String registerName) {
        this.registerName = registerName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegisterPhone() {
        return registerPhone;
    }

    public void setRegisterPhone(String registerPhone) {
        this.registerPhone = registerPhone;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public String getDeviecBrand() {
        return deviecBrand;
    }

    public void setDeviecBrand(String deviecBrand) {
        this.deviecBrand = deviecBrand;
    }

    public String getMachineryType() {
        return machineryType;
    }

    public void setMachineryType(String machineryType) {
        this.machineryType = machineryType;
    }

    public String getPlateSubject() {
        return plateSubject;
    }

    public void setPlateSubject(String plateSubject) {
        this.plateSubject = plateSubject;
    }

    public String getEngineSubject() {
        return engineSubject;
    }

    public void setEngineSubject(String engineSubject) {
        this.engineSubject = engineSubject;
    }

    public Date getDateOfProduction() {
        return dateOfProduction;
    }

    public void setDateOfProduction(Date dateOfProduction) {
        this.dateOfProduction = dateOfProduction;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public Date getResBuyDate() {
        return resBuyDate;
    }

    public void setResBuyDate(Date resBuyDate) {
        this.resBuyDate = resBuyDate;
    }

    public String getEnginePlateNum() {
        return enginePlateNum;
    }

    public void setEnginePlateNum(String enginePlateNum) {
        this.enginePlateNum = enginePlateNum;
    }

    public String getProductionType() {
        return productionType;
    }

    public void setProductionType(String productionType) {
        this.productionType = productionType;
    }

    public String getProductionAddress() {
        return productionAddress;
    }

    public void setProductionAddress(String productionAddress) {
        this.productionAddress = productionAddress;
    }

    public String getManeuver() {
        return maneuver;
    }

    public void setManeuver(String maneuver) {
        this.maneuver = maneuver;
    }

    public Integer getWorkTime() {
        return workTime;
    }

    public void setWorkTime(Integer workTime) {
        this.workTime = workTime;
    }

    public String getFuel() {
        return fuel;
    }

    public void setFuel(String fuel) {
        this.fuel = fuel;
    }

    public String getOutputVolume() {
        return outputVolume;
    }

    public void setOutputVolume(String outputVolume) {
        this.outputVolume = outputVolume;
    }

    public String getFactoryNum() {
        return factoryNum;
    }

    public void setFactoryNum(String factoryNum) {
        this.factoryNum = factoryNum;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getChangeIntoIdentification() {
        return changeIntoIdentification;
    }

    public void setChangeIntoIdentification(String changeIntoIdentification) {
        this.changeIntoIdentification = changeIntoIdentification;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getChangeIntoName() {
        return changeIntoName;
    }

    public void setChangeIntoName(String changeIntoName) {
        this.changeIntoName = changeIntoName;
    }

    public String getReferenceDeviceImg() {
        return referenceDeviceImg;
    }

    public void setReferenceDeviceImg(String referenceDeviceImg) {
        this.referenceDeviceImg = referenceDeviceImg;
    }

    public String getReferenceUserImg() {
        return referenceUserImg;
    }

    public void setReferenceUserImg(String referenceUserImg) {
        this.referenceUserImg = referenceUserImg;
    }

    public String getReferenceInvoiceImg() {
        return referenceInvoiceImg;
    }

    public void setReferenceInvoiceImg(String referenceInvoiceImg) {
        this.referenceInvoiceImg = referenceInvoiceImg;
    }

    //    public String getOldIdentityAndCarImg() {
//        return oldIdentityAndCarImg;
//    }
//
//    public void setOldIdentityAndCarImg(String oldIdentityAndCarImg) {
//        this.oldIdentityAndCarImg = oldIdentityAndCarImg;
//    }
//
//    public String getNewIdentityAndCarImg() {
//        return newIdentityAndCarImg;
//    }
//
//    public void setNewIdentityAndCarImg(String newIdentityAndCarImg) {
//        this.newIdentityAndCarImg = newIdentityAndCarImg;
//    }
//
//    public String getChangeIntoIdentification() {
//        return changeIntoIdentification;
//    }
//
//    public void setChangeIntoIdentification(String changeIntoIdentification) {
//        this.changeIntoIdentification = changeIntoIdentification;
//    }
//    public String getChangeIntoName() {
//        return changeIntoName;
//    }
//
//    public void setChangeIntoName(String changeIntoName) {
//        this.changeIntoName = changeIntoName;
//    }
//
//    public String getChangeIntoUserType() {
//        return changeIntoUserType;
//    }
//
//    public void setChangeIntoUserType(String changeIntoUserType) {
//        this.changeIntoUserType = changeIntoUserType;
//    }
//
//    public String getChangeIntoSpouseName() {
//        return changeIntoSpouseName;
//    }
//
//    public void setChangeIntoSpouseName(String changeIntoSpouseName) {
//        this.changeIntoSpouseName = changeIntoSpouseName;
//    }
//
//    public String getChangeIntoSpouseIdentification() {
//        return changeIntoSpouseIdentification;
//    }
//
//    public void setChangeIntoSpouseIdentification(String changeIntoSpouseIdentification) {
//        this.changeIntoSpouseIdentification = changeIntoSpouseIdentification;
//    }
//
//    public String getChangeIntoSpousePhone() {
//        return changeIntoSpousePhone;
//    }
//
//    public void setChangeIntoSpousePhone(String changeIntoSpousePhone) {
//        this.changeIntoSpousePhone = changeIntoSpousePhone;
//    }
//
//    public String getChangeIntoAddress() {
//        return changeIntoAddress;
//    }
//
//    public void setChangeIntoAddress(String changeIntoAddress) {
//        this.changeIntoAddress = changeIntoAddress;
//    }
//
//    public String getChangeIntoPhone() {
//        return changeIntoPhone;
//    }
//
//    public void setChangeIntoPhone(String changeIntoPhone) {
//        this.changeIntoPhone = changeIntoPhone;
//    }
    @Override
    protected Serializable pkVal() {
        return null;
    }
}
